﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MMSWebsite.Models
{
    public class Group
    {
        [HiddenInput]
        public int Id { get; set; }

        [Required(ErrorMessage = "Group name can't be empty")]
        [Display(Name = "Group Name")]
        public string GroupName { get; set; }

        [DataType(DataType.MultilineText)]
        [Display(Name = "Group Description")]
        public string Description { get; set; }

        [Display(Name = "Distribution Area")]
        public GroupArea Area { get; set; }

        [Display(Name = "Responsible Reviewer")]
        public EmployeeViewModel Responsibility { get; set; }
    }
}